package com.meeting.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meeting.dto.OrdersQueryDTO;
import com.meeting.dto.RoomBookDTO;
import com.meeting.entity.Orders;
import com.meeting.vo.OrdersVO;
import com.meeting.vo.PageResult;
import com.meeting.vo.Result;
import org.springframework.stereotype.Service;

@Service
public interface OrdersService extends IService<Orders> {
    Orders createOrders(RoomBookDTO roomBookDTO);

    void payOrders(Integer id);

    void cancelOrders(Integer id);

    PageResult<OrdersVO> listAll(OrdersQueryDTO ordersQueryDTO);

    Result refund(Integer id);

    void changeOrders(Integer id);

    PageResult<OrdersVO> listAllRefundOrders(OrdersQueryDTO ordersQueryDTO);
}